package com.xbongbong.pro.sms.pojo.dto;

import com.xbongbong.paas.toolbox.wrap.BaseDTO;
import lombok.Getter;
import lombok.Setter;
import lombok.ToString;

import javax.validation.constraints.NotNull;

/**
 * 短信往来DTO
 * @author youli.chen
 * @date 2019/11/21 15:56
 * @since v1.0
 * @version v1.0
 */
@Getter
@Setter
@ToString
public class SmsDealingDTO extends BaseDTO {

    private static final Integer DEFAULT_OPERATE_LOG_PAGE_SIZE = 15;

    /**
     * 对象id
     */
    private Integer dataId;
    /**
     * 号码
     */
    private String mobile;

    /**
     * 当前页
     */
    private Integer page;
    /**
     * 每页数量
     */
    private Integer pageSize;

    public SmsDealingDTO() {
        page = 1;
        pageSize = DEFAULT_OPERATE_LOG_PAGE_SIZE;
    }

}
